<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>demo</title>
		<style>
			*{
				margin: 0;
				padding: 0;
			}
			h1{
				background-color: skyblue;
				width: 200px;
				transition: 1s linear;
			}
			.leave{
				transform: translateX(-200px);
			}
		</style>
	</head>
	<body>
		<h1>回忆过渡</h1>
	</body>
</html>